<?php /* Smarty version 2.6.16, created on 2013-09-11 14:01:58
         compiled from d:%5Cwww%5Cclient%5Cgetbids/templates/default/cms_left_content.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'd:\\www\\client\\getbids/templates/default/cms_left_content.tpl', 10, false),array('modifier', 'truncate', 'd:\\www\\client\\getbids/templates/default/cms_left_content.tpl', 10, false),)), $this); ?>
<?php echo '<link rel="stylesheet" type="text/css" href="';  echo $this->_tpl_vars['siteroot'];  echo '/templates/default/style/ddlevelsmenu_sidebar.css"><link rel="stylesheet" type="text/css" href="';  echo $this->_tpl_vars['siteroot'];  echo '/templates/default/style/registration.css"><script type="text/javascript" src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/menu.js"></script>'; ?>


<section class="dash_left">
<!-- User Image Box Start -->
    <section class="user_img_box">
        <h5><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['userDetArray']['first_name'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 6, "") : smarty_modifier_truncate($_tmp, 6, "")); ?>
 <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['userDetArray']['last_name'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 1, "") : smarty_modifier_truncate($_tmp, 1, "")); ?>
</h5>
        <?php if ($this->_tpl_vars['userDetArray']['user_avatar']): ?>
            <img src="<?php echo $this->_tpl_vars['siteroot']; ?>
/includes/image.php?width=130&amp;height=130&amp;image=<?php echo $this->_tpl_vars['siteroot']; ?>
/uploads/user/<?php echo $this->_tpl_vars['userDetArray']['user_avatar']; ?>
" title="User Name" alt="User Name"/>
        <?php else: ?>
         	<img src="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/default/images/upload/featredtrade_img3.jpg" width="130" height="130" title="User Name" alt="User Name" />   
         <?php endif; ?>   
        <article><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/changephoto/">Change Profile Photo</a></article>
        
        <article style="padding:2px;color:#000"><?php if ($this->_tpl_vars['getuserdet']['user_type'] == '4'): ?> <?php echo $this->_tpl_vars['getuserdet']['planname'];  endif; ?></article>
        
        <article style="padding:2px;color:#000"><?php if ($this->_tpl_vars['getuserdet']['user_type'] == '4'): ?> <?php if ($this->_tpl_vars['getuserdet']['plannid'] != '1'): ?> Lead Balance (<?php echo $this->_tpl_vars['getuserdet']['leads']; ?>
) <?php else: ?> Account balance: $<?php echo $this->_tpl_vars['getuserdet']['planamount'];  endif;  endif; ?></article>
        
    </section>
 <!-- User Image Box End -->
 <!-- Left Menu Box Start -->
    
		  
         
    <section class="dash_left_menu">
   

    	    <ul id="menu">
            <?php if ($this->_tpl_vars['getuserdet']['user_type'] == '4'): ?>
	        <li>
                <a href="javascript:;">Available Leads</a>
                <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '8'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/leads/" <?php if ($this->_tpl_vars['subactive'] == 'leads'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Available Leads</a></li>
                </ul>
            </li>
            <?php endif; ?>
          	<li>
                <a href="javascript:;">My Account</a>
                <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '1'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a <?php if ($_SESSION['user_type'] == '3'): ?> href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/" <?php else: ?> href="<?php echo $this->_tpl_vars['siteroot']; ?>
/profile/<?php echo $this->_tpl_vars['comapnyname']; ?>
" <?php endif; ?> <?php if ($this->_tpl_vars['subactive'] == 'myaccount'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;View Profile</a></li>
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/editprofile" <?php if ($this->_tpl_vars['subactive'] == 'editprofile'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Edit Profile</a></li>                   
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/changepassword/" <?php if ($this->_tpl_vars['subactive'] == 'changepassword'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Change Password</a></li>
                     <?php if ($_SESSION['user_type'] == '4'): ?>
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/myuploadedphoto" <?php if ($this->_tpl_vars['subactive'] == 'myuploadedphoto'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Work Photos</a></li>
                    <?php endif; ?>
                </ul>
            </li>
            
            <li>
                <a href="javascript:;">My Messages</a>

                <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '2'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/mymessages/" <?php if ($this->_tpl_vars['subactive'] == 'mymessages'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Inbox (<?php echo $this->_tpl_vars['getuserdet']['inboxcount']; ?>
)</a></li>
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/mysentmessages/" <?php if ($this->_tpl_vars['subactive'] == 'mysentmessages'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Sent Item (<?php echo $this->_tpl_vars['getuserdet']['sentcount']; ?>
)</a></li>
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/message_reply/" <?php if ($this->_tpl_vars['subactive'] == 'message_reply'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;Compose</a></li>
                </ul>
            </li>
            <?php if ($_SESSION['user_type'] == '4'): ?>
            <li>
            	<a href="javascript:;">Manage Service & location</a>
                <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '3'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/myservicelocation/" <?php if ($this->_tpl_vars['subactive'] == 'myservicelocation'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Service & location</a></li>                    
                    <!--<li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/myaccount/mytradecategory/" <?php if ($this->_tpl_vars['subactive'] == 'mytradecategory'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Trade Categories</a></li>                    -->
                </ul>   
                
            </li>
            <?php endif; ?>
            <?php if ($_SESSION['user_type'] == '4'): ?>
            <li>
            	<a href="javascript:;">Manage Leads</a>
				<ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '4'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/leads/myleads/" <?php if ($this->_tpl_vars['subactive'] == 'myleads'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Leads</a></li>                    
                </ul>   

            
            </li>
            <?php endif; ?>
            <?php if ($_SESSION['user_type'] == '3'): ?>
            <li>
            	<a href="javascript:;">Manage Jobs</a>
				<ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '4'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/jobs/myjobs/" <?php if ($this->_tpl_vars['subactive'] == 'myjobs'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Jobs</a></li>                    
                </ul>   

            
            </li>
            <?php endif; ?>            
            
            <li>
            	<a href="javascript:;">Manage Testimonials</a>
                 <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '5'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/testimonials/mytestimonials/" <?php if ($this->_tpl_vars['subactive'] == 'testimonials'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Testimonials</a></li>                    
                 </ul>               
            </li>
             <?php if ($_SESSION['user_type'] == '4'): ?>
            <li>
            	<a href="javascript:;">Manage Ratings</a>
                <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '6'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/rating/" <?php if ($this->_tpl_vars['subactive'] == 'rating'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Ratings & Feedback</a></li>                    
                 </ul>                               
            </li>           
            <li>
            	<a href="javascript:;">Manage Payment History</a>
                
                <ul style="display:<?php if ($this->_tpl_vars['mainmenu'] == '7'): ?>block<?php else: ?>none<?php endif; ?>;">
                    <li><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/payment/history/" <?php if ($this->_tpl_vars['subactive'] == 'mypaymenthistory'): ?> class="active" <?php endif; ?>>&raquo; &nbsp;My Payment History</a></li>                    
                </ul>   
            </li>
            <?php endif; ?>
           </ul>
    </section>
<!-- Left Menu Box End -->
</section>